<?php
    function pspSplitWord($title,$cfg_soft_lang='utf-8')
	{
	    $subject = $title;
		Loader::import('lib.splitwordc.splitword');
		$sp = new SplitWord($cfg_soft_lang, $cfg_soft_lang);
		$sp->SetSource($subject, $cfg_soft_lang, $cfg_soft_lang);
		$sp->StartAnalysis();
		$keywords = $sp->GetFinallyResult(' ');
		$keywords = ereg_replace("[ ]{1,}"," ",trim($keywords));
		return $keywords = addslashes($keywords);
	}
?>